How are identifiers named in open source software? About popularity and consistency
نویسندگان
چکیده
* Corresponding author E-mail addresses: [email protected] (Y.Q. Wang), [email protected] (C. Wang) Abstract—With the rapid increasing of software project size and maintenance cost, adherence to coding standards especially by managing identifier naming, is attracting a pressing concern from both computer science educators and software managers. Software developers mainly use identifier names to represent the knowledge recorded in source code. However, the popularity and adoption consistency of identifier naming conventions have not been revealed yet in this field. Taking forty-eight popular open source projects written in three top-ranking programming languages Java, C and C++ as examples, an identifier extraction tool based on regular expression matching is developed. In the subsequent investigation, some interesting findings are obtained. For the identifier naming popularity, it is found that Camel and Pascal naming conventions are leading the road while Hungarian notation is vanishing. For the identifier naming consistency, we have found that the projects written in Java have a much better performance than those written in C and C++. Finally, academia and software industry are urged to adopt the most popular naming conventions consistently in their practices so as to lead the identifier naming to a standard, unified and high-quality road.
منابع مشابه
An Exploratory Study of Factors Influencing the Level of Vitality and Popularity of Open Source Projects
In this research, we ask the question: What differentiates successful from unsuccessful open source software projects? Using a sample of 240 open source projects, we examine how organizational sponsorship, target audience (developer versus end user), license choice, and development status interact over time to influence the extent to which open source software projects attract user attention an...
متن کاملIncreasing diversity: Natural language measures for software fault prediction
While challenging, the ability to predict faulty modules of a program is valuable to a software project because it can reduce the cost of software development, as well as software maintenance and evolution. Three language-processing based measures are introduced and applied to the problem of fault prediction. The first measure is based on the usage of natural language in a program’s identifiers...
متن کاملA Systematic Review of Research on Open Source Software in Commercial Software Product Development
Background: The popularity of the open source software development in the last decade, has brought about an increased interest from the industry on how to use open source components, participate in the open source community, build business models around this type of software development, and learn more about open source development methodologies. Aim: The aim of this study is to review research...
متن کاملVFC-RTS: Vector-Field Consistency para Real-Time-Strategy Multiplayer Games
Although massive multiplayer online games have established popularity, real-time strategy (RTS) has not been considered a good candidate for this model because of the limited number of players supported, large number of game entities and strong consistency requirements. To deal with this situation, concepts such as continuous consistency and location-awareness have proven useful in order to con...
متن کاملCohesion, Structure and Software Complexity: A Model of Open Source Software Development
As the use of open source software gains popularity, it is important to understand the factors that contribute to the success of open source software development projects. This research contributes to this understanding by developing a set of propositions about the organizational structure that supports open source software projects. We argue that in open source software development it is impor...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1401.5300 شماره
صفحات -
تاریخ انتشار 2014